<script>
	// #ifdef APP
	import silenceUpdate from '@/uni_modules/rt-uni-update/js_sdk/silence-update.js'

	// #endif

	export default {
		onLaunch: function() {


			this.Banmikeji.appinit_h5()
			uni.hideTabBar()
			//微信公众号 静默登录
			// this.Banmikeji.init_jingmo_login({})
			//app检测更新
			this.Banmikeji.app_updata()
			//获取插件配置信息
			this.Http.post('/plugin.php/banmitongcheng/api/Settings/index').then(ret => {
				if (ret.status == 200) {
				 
					//把插件的基本设置加入到vuex缓存  vue中 直接this.get_plugin_set 获取
					this.Banmikeji.setStore("get_plugin_set", ret.data.set_find);
				}
			})
		},
		onShow: function() {
			console.log('App onShow')
			this.Banmikeji.appinit()
		},
		onHide: function() {
			console.log('App Hide')
		},
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "./static/mi.scss";
	@import "./static/iconfont.css";
	@import "./static/banmiweixinquen.scss";
</style>